package cn.iocoder.yudao.module.member.controller.admin.shunfengcheorder.vo;

import cn.iocoder.yudao.framework.excel.core.annotations.DictFormat;
import cn.iocoder.yudao.framework.excel.core.convert.DictConvert;
import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;

import java.time.LocalDateTime;


/**
 * 公众号顺风车订单 Excel VO
 *
 * @author 路小强
 */
@Data
public class ShunfengcheOrderExcelVO {

    @ExcelProperty("编号")
    private Long id;

    @ExcelProperty(value = "公众号", converter = DictConvert.class)
    @DictFormat("mp_message_type") // TODO 代码优化：建议设置到对应的 XXXDictTypeConstants 枚举类中
    private String appId;

    @ExcelProperty("出发地址")
    private String startAddress;

    @ExcelProperty("目的地")
    private String endAddress;

    @ExcelProperty("出发时间")
    private String startTime;

    @ExcelProperty("乘车人数")
    private Integer personNum;

    @ExcelProperty(value = "携带物品", converter = DictConvert.class)
    @DictFormat("infra_boolean_string") // TODO 代码优化：建议设置到对应的 XXXDictTypeConstants 枚举类中
    private String appendices;

    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}
